<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Document</title>

    <link rel="stylesheet" href="css/bootstrap.min.css">
    <script src="js/jquery-3.4.1.min.js"></script>
    <script src="js/bootstrap.bundle.min.js"></script>
    <script src="js/bootstrap.min.js"></script>

</head>

<body>
    <div id="carouselExampleCaptions" class="carousel slide" data-ride="carousel">

        <!-- 可以根据具体的轮播图进行选择 -->

        <ol class="carousel-indicators">
            <li data-target="#carouselExampleCaptions" data-slide-to="0" class="active"></li>
            <li data-target="#carouselExampleCaptions" data-slide-to="1"></li>
            <li data-target="#carouselExampleCaptions" data-slide-to="2"></li>
        </ol>

        <!-- 
            轮播的图片
            active:在轮播中最先显示的图片
         -->
        <div class="carousel-inner">
            <div class="carousel-item " data-interval='1500'>
                <img src="img/1.jpg" width="500px" height="500px" class="d-block w-100" alt="...">
            </div>

            <div class="carousel-item " data-interval='1500'>
                <img src="img/2.jpg" width="500px" height="500px" class="d-block w-100" alt="...">
            </div>

            <div class="carousel-item active" data-interval='1500'>
                <img src="img/3.jpg" width="500px" height="500px" class="d-block w-100" alt="...">
            </div>

            <a class="carousel-control-prev" href="#carouselExampleCaptions" role="button" data-slide="prev">
                <span class="carousel-control-prev-icon" aria-hidden="true"></span>
                <span class="sr-only">Previous</span>
            </a>
            <a class="carousel-control-next" href="#carouselExampleCaptions" role="button" data-slide="next">
                <span class="carousel-control-next-icon" aria-hidden="true"></span>
                <span class="sr-only">Next</span>
            </a>

        </div>
    </div>




</body>

</html>